import {
	createStore
} from 'vuex'

// Create a new store instance.
const store = createStore({
	state() {
		return {
			heart: 0
		}
	},
	mutations: {
		setheart(state, heart) {
			state.heart = heart
		}
	}
})
export default store
